﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RadioThermostat
{
    public class RTTstatInfo
    {
        public string Temp { get; set; }
        public string Tmode { get; set; }
        public string Fmode { get; set; }
        public string Errstatus { get; set; }
        public string Override { get; set; }
        public string Hold { get; set; }
        public string T_heat { get; set; }
        public string T_cool { get; set; }


        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            sb.Append("temp=" + Temp + ",");
            sb.Append("Tmode=" + Tmode + ",");
            sb.Append("Fmode=" + (FanMode)int.Parse(Fmode) + ",");
            sb.Append("Errstatus=" + Errstatus + ",");
            sb.Append("Override=" + Override + ",");
            sb.Append("Hold=" + Hold + ",");
            sb.Append("T_heat=" + T_heat + ",");
            sb.Append("T_cool=" + Hold + ",");
            return sb.ToString();
        }
    }
}
